#pragma once
#include <string>
#include <iostream>

class CXCAPXMLWrapper
{
public:
	CXCAPXMLWrapper(std::string auid, std::string document_name, std::string mime_typ);
public:
	~CXCAPXMLWrapper(void);
public:
	virtual std::string GetMimeContentType(){return MIME_TYPE;}
	//virtual std::string GetRequestURI(const std::string& root) = 0;
	virtual void GetXMLStream(std::ostream& os) = 0;
	virtual void PrintXML() {GetXMLStream(std::cout);}
protected:
	std::string AUID;
	std::string DOCUMENT_NAME;
	std::string MIME_TYPE;
};
